// 附件管理详情接口
import request from '@/utils/request'
import { commonBaseUrl } from '@/utils'

const moduleName = commonBaseUrl('A')
// const ipUrl = process.env.VUE_APP_JUNNAN_FJPARAMS

// 查询上传时所需参数
export function getTypeInfoApi(data) {
    return request({
        url: moduleName + 'api/attachment/file/getTypeInfo',
        method: 'post',
        data,
        showLoading: true
    })
}

// 查询上传时所需参数
export function getNodeInfoApi(data) {
    return request({
        url: moduleName + 'api/attachment/file/getNodeInfo',
        method: 'post',
        showLoading: false,
        data
    })
}
